<div class="span10">
	<h1>AGREGAR USUARIOS!!</h1>
    <div>
		<input id="lastNameId" type="text" class="span1" placeholder="Ingresar LastName" ng-model="lastName" data-ng-blur="user.listUser()">
		<input id="nameId" type="text" class="span1" placeholder="Ingresar name" ng-model="name" data-ng-enter="user.listUser()">
		<a data-ng-click="user.addUser()">Confirm User</a>
    </div>
    <br>
    <div ng-show="user.showUserAdded">
    	<h1> {{user.tituloAddUser}}</h1>
    	<h3> El Nombre es: {{user.nameAdded}}</h3>
    	<h3> El Apellido es: {{user.lastNameAdded}}</h3>
    </div>
    <a data-ng-click="user.listUser()">List User</a>
    <div ng-show="user.showUserList">
  		<h1> {{user.tituloListUser}}</h1>
		<table>
			<tr>
				<th>Delete User</th>
				<th>Last Name</th>
				<th>Name</th>
			</tr>
			<tr	ng-repeat="objeto in user.list">
				<td><img src="./images/tacho.png" data-ng-click="user.deleteUser(objeto.lastName, objeto.name)"></img></td>			
				<td>{{objeto.lastName}}</td>
				<td>{{objeto.name}}</td>
			</tr>
		</table>
		
	</div>
</div>
